@import url(../style/global.less);

.container {
  width: 100%;
  overflow: hidden;

  .header {
    height: 60px;
    line-height: 60px;
    display: flex;
    background-color: rgb(var(--primary-color));

    div {
      width: 100px;
      text-align: center;
      color: white;
    }

    .headerName {
      flex-grow: 1;
      text-align: left;
      padding: 0 10px 0 20px;
    }
  }

  .items {
    height: calc(100% - 60px);
    border-right: 1px solid rgba(var(--primary-color), 0.1);
    overflow: hidden;

    .item {
      height: 40px;
      line-height: 40px;
      text-align: center;
      display: flex;

      &:nth-child(even) {
        background-color: rgba(var(--primary-color), 0.05);
      }

      div {
        width: 100px;
        text-align: center;
      }

      .itemName {
        flex-grow: 1;
        display: flex;

        .icon {
          width: 20px;
          padding-top: 2px;
          padding-left: 4px;
          cursor: pointer;
          display: flex;
          align-items: center;
        }

        .name {
          flex-grow: 1;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
          padding-right: 10px;
          text-align: left;
        }
      }
    }

    .hover {
      background-color: rgba(var(--primary-color), 0.1) !important;
    }
  }
}